# 需要bash
# 需要配置ssh authorized_keys
# ssh-copy-id -i path_to_your_id_file.pub root@121.40.18.70 
# test with 'ssh root@121.40.18.70'
# 如果依然需要密码 请google解决
tar -czf one-key.tar one-key
scp one-key.tar root@121.40.18.70:/usr/share/nginx/html/one-key.tar
rm -rf one-key.tar
ssh root@121.40.18.70 'cd /usr/share/nginx/html/ && rm -rf one-key && tar -xzf one-key.tar && rm -rf one-key.tar && chown -R root:root one-key/'
echo 'done. 👉 http://121.40.18.70:9011'